package br.com.social.mobile.entities;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="TB_CHAT")
public class Chat extends AbstractEntity implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 5771616769938320510L;


	@Column(name="DT_CREATE")
    private Date dtCreate;
	
	@Column(name="DS_NAME")
	private String dsName;
	
	@Column(name="NU_ID_USERS")
	private String nuIdUsers;
	

	public Date getDtCreate() {
		return dtCreate;
	}

	public void setDtCreate(Date dtCreate) {
		this.dtCreate = dtCreate;
	}

	public String getDsName() {
		return dsName;
	}

	public void setDsName(String dsName) {
		this.dsName = dsName;
	}

	public String getNuIdUsers() {
		return nuIdUsers;
	}

	public void setNuIdUsers(String nuIdUsers) {
		this.nuIdUsers = nuIdUsers;
	}

	@Override
	public String toString() {
		return "Chat [ getId()=" + getId() + "dtCreate=" + dtCreate + ", dsName=" + dsName
				+ "]";
	}

}

